package com.gy.hsim.bservice.userGroupingManagement.bean;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName: Team
 * @Description: 组实体bean
 * @author quanrj 
 * @date 2015-12-11 上午09:57:19
 */
public class Team {
	
	/**
	 * 组ID
	 */
	private String teamId;
	
	/**
	 * 组名
	 */
	private String teamName;
	
	/**
	 * 创建者
	 */
	private String teamCreator;
	
	/**
	 * 用户ID
	 */
	private String userId;
		
	/**
	 *  好友ID
	 */
	private String friendId;
	
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String teamCreated;
	
	/**
	 * 更新时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String teamUpdated;
	
	/**
	 * 备注
	 */
	private String teamRemark;

	
	public String getTeamId() {
		return teamId;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getTeamCreator() {
		return teamCreator;
	}

	public void setTeamCreator(String teamCreator) {
		this.teamCreator = teamCreator;
	}
	
	public String getTeamRemark() {
		return teamRemark;
	}

	public void setTeamRemark(String teamRemark) {
		this.teamRemark = teamRemark;
	}

	public String getTeamCreated() {
		return teamCreated;
	}

	public void setTeamCreated(String teamCreated) {
		this.teamCreated = teamCreated.substring(0,teamCreated.lastIndexOf("."));
	}

	public String getTeamUpdated() {
		return teamUpdated;
	}

	public void setTeamUpdated(String teamUpdated) {
		this.teamUpdated = teamUpdated.substring(0,teamUpdated.lastIndexOf("."));
	}
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFriendId() {
		return friendId;
	}

	public void setFriendId(String friendId) {
		this.friendId = friendId;
	}
	
}
